import { request } from '../../../request';
// 获取左边列表
export function getLeftTableDataList(params: any) {
  return request({
    url: '/mes/api/erp/selectCodePrintSimple',
    params
  });
}

// 获取右边pnl表格数据
export function getRightTableDataList(id: any) {
  return request({
    url: `/mes/api/erp/selectCodePrintDetail?lotId=${id}`,
    method: 'GET'
  });
}

// 获取代码列表
export function getCodeList(params: any) {
  return request({
    url: '/mes/batch-read-code-info/little/window',
    params
  });
}
export function getLeftTableDataLists(params: any) {
  return request({
    url: '/mes/batch-read-code-info/work-order-brief-info',
    params
  });
}

// 获取左边表格数据
export function getRightTableDataLists(params: any) {
  return request({
    url: '/mes/batch-read-code-info/lot-code-reading-info',
    params
  });
}

// 读码查询内---获取最右边详细信息
export function getLastinnerRightTableDataList(params: any) {
  return request({
    url: '/mes/batch-read-code-info/readingDetailInner',
    params
  });
}

// 读码查询外---获取最右边详细信息
export function getLastouterRightTableDataList(params: any) {
  return request({
    url: '/mes/batch-read-code-info/readingDetailOuter',
    params
  });
}
